package com.xmhmyh.generalframework;

import com.alibaba.fastjson.serializer.SerializeConfig;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.alibaba.fastjson.support.config.FastJsonConfig;
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import com.xmhmyh.generalframework.framework.serializer.LocalDateSerializer;
import com.xmhmyh.generalframework.framework.serializer.LocalDateTimeSerializer;
import com.xmhmyh.generalframework.framework.serializer.LocalTimeSerializer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.http.MediaType;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.ArrayList;
import java.util.List;

@SpringBootApplication
@EnableConfigurationProperties
public class GeneralframeworkApplication {

    public static void main(String[] args) {
        SpringApplication.run(GeneralframeworkApplication.class, args);
        System.out.println(
                        " ██████   ██████   ███    ███  ██████   ██       ███████  ████████  ███████     ██  ██  ██ \n" +
                        "██       ██    ██  ████  ████  ██   ██  ██       ██          ██     ██          ██  ██  ██ \n" +
                        "██       ██    ██  ██ ████ ██  ██████   ██       █████       ██     █████       ██  ██  ██ \n" +
                        "██       ██    ██  ██  ██  ██  ██       ██       ██          ██     ██                   \n" +
                        " ██████   ██████   ██      ██  ██       ███████  ███████     ██     ███████     ██  ██  ██ \n" +
                        "                                                                                  \n" +
                        "                                                                                  "
        );
    }

}
